package com.lxw.study.behavioral.strategy.traditional;

public class Client {
    public static void main(String[] args) {
        //拿到一个具体的策略
        Strategy strategy = new ConcreteStrategy1();
        //创建上下文对象
        Context context = new Context(strategy);
        //执行封装后的方法
        context.doAnything();
    }
}
